package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LCompetitionUser
 * @date 2021.05.28 10:16
 * @describe 用户竞赛表
        */
@TableName("l_competition_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LCompetitionUser对象", description="用户竞赛表")
public class LCompetitionUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "competition_user_id", type = IdType.AUTO)
    private Integer competitionUserId;

    @ApiModelProperty(value = "竞赛试卷id")
    @TableField("competition_paper_id")
    private Integer competitionPaperId;

    @ApiModelProperty(value = "竞赛考次id")
    @TableField("competition_id")
    private Integer competitionId;

    @ApiModelProperty(value = "竞赛人员id")
    @TableField("user_id")
    private Integer userId;

    @TableField(exist = false)
    private String userName;

    @ApiModelProperty(value = "答题用时")
    @TableField("competition_user_time")
    private String competitionUserTime;

    @ApiModelProperty(value = "答题用时")
    @TableField("competition_time")
    private Date competitionTime;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @TableField("operation_score")
    private String operationScore;

    @ApiModelProperty(value = "成绩")
    @TableField("user_score")
    private String userScore;

    @ApiModelProperty(value = "用户ip")
    @TableField("user_ip")
    private String userIp;

    @ApiModelProperty(value = "状态 0报名1结束")
    @TableField("paper_state")
    private String paperState;

    @TableField("operation_cover")
    private String operationCover;

    @TableField("operation_time")
    private Date operationTime;

    public String getOperationCover() {
        return operationCover;
    }

    public void setOperationCover(String operationCover) {
        this.operationCover = operationCover;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public String getOperationScore() {
        return operationScore;
    }

    public void setOperationScore(String operationScore) {
        this.operationScore = operationScore;
    }

    public String getPaperState() {
        return paperState;
    }

    public void setPaperState(String paperState) {
        this.paperState = paperState;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getCompetitionUserId() {
        return competitionUserId;
    }

    public void setCompetitionUserId(Integer competitionUserId) {
        this.competitionUserId = competitionUserId;
    }

    public Integer getCompetitionPaperId() {
        return competitionPaperId;
    }

    public void setCompetitionPaperId(Integer competitionPaperId) {
        this.competitionPaperId = competitionPaperId;
    }

    public Integer getCompetitionId() {
        return competitionId;
    }

    public void setCompetitionId(Integer competitionId) {
        this.competitionId = competitionId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCompetitionUserTime() {
        return competitionUserTime;
    }

    public void setCompetitionUserTime(String competitionUserTime) {
        this.competitionUserTime = competitionUserTime;
    }

    public Date getCompetitionTime() {
        return competitionTime;
    }

    public void setCompetitionTime(Date competitionTime) {
        this.competitionTime = competitionTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUserScore() {
        return userScore;
    }

    public void setUserScore(String userScore) {
        this.userScore = userScore;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }
}
